#include <stdio.h>

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    double c=0, d=0;
    printf("Vvedite dva radiusa {cherez_probel}: ");
    scanf("%lf %lf", &c, &d);

    printf("\n ploshad S1 = %.2lf", 3.14*c*c);
    printf("\n ploshad S2 = %.2lf",3.14*d*d);
    printf("\n ploshad kolca = %.2lf",3.14*d*d - 3.14*c*c );


    return 0;
}
